package com.ruoyi.tzzl.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 广告配置对象 wz_advertising
 * @author by caoyong
 * @date 2022/11/17
 **/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@TableName("wz_advertising")
public class WzAdvertising {

    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 弹框背景图 */
    @Excel(name = "弹框背景图")
    private String bouncedBackgroundUrl;

    /** 海报背景图 */
    @Excel(name = "海报背景图")
    private String postersBackgroundUrl;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String slideshowBackgroundUrl;

    /** 红娘联盟群海报图 */
    @Excel(name = "红娘联盟群海报图")
    private String groupBackgroundUrl;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 变动时间 */
    @Excel(name = "变动时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    private String delFlag;

}
